Expand history functionality, albeit commented out

Towards #283. Commented out because it's still under development,
currently lacking proper CSS or JS.