Fixed new / edit pages

Also broke out application layout to head, nav, and flash