Persistent Menu

Implemented persistent menus, documented javascript source, reworked
menu and sidebar initialization / update system.