Bugfixes, css tweaks and persistent URLs

Small fixes in typos, css state transitions and pushing persistent URLs via the html5 history api.

Sorry for the messy pull-req :)