Several improvements to the history page