routing, clearing titles on escape, some refactoring of event handling and data persistence across route changes
s/tab/spaces
Merge pull request #1 from lhorie/master

refactor keyboard handling, and fix routing