Formatting updates

Start cleaning up history.php