fix Revision.compareTo
Implemented Swing UI. Closes #9.