Your code for inserting landtypes has 'stream' commented out. I missed that before I ran it, and it caused all sorts of trouble.
Your first page is also missing the script for creating the metadata.logging table.
It's taking shape. I can't wait to see whats next.
Dan