Initial implementation of the deviation detailed view. Lots of UI improvements to add.