Added a command line option for building the main site so its internal links would work from file: URLs. Added unused code for building a version of the main site's HTML with all internal link behavior replaced with postMessage. Moved the script tags from the head to the bottom of the body.