updating the main route to eliminiate global var for temps
bug fix and refactoring
more refactoring and an additional route for eventual persistance
adding auto-open
interim check in, tons of changes
Merge branch 'global-bug-fix'