Formatting cleanup, added a few comments.
Added code to run route listeners on attach if they match the window.location.hash.
Added note for later on history/routing.