Fixed bug with creating a new layout from Edit Page meta box when no current layout is selected.
Some minor admin javascript improvements.