Fix gramma.
Move update_session.
search.js wasn't actually used.
Change edit/view mode in session bar.
Fix titles

Also allow edits from slideshow mode.
Move code around