Backbone refactor

Fixed a number of navigation bugs throughout and re-did some of the Backbone templating. There are still a few problems moving between the screens but hopefully this simplified things a bit.