Fix history-related browser history
Full reactification

Closes #9