refactored admin menu, added gallery chooser to all pages, created current_gallery helper method