Starting to make the edit page real
Updated edit.php to include Alexey's changes
Finished merging alexey's changes
Fixed the nav tabs, and the persistence

The nav tabs were missing from the main page, and the variables were not
persistent across saves and page accesses.