Fixed the diff view links
Rudimentary layout for the history system