Refactoring.

Changed the Side type to be a string so it will display correctly (0 vs
1 is sorta hard to read after all). Fixed bug where side wasn't being
included in the diff operation.