Cleaned up GUI and implemented stitching (manual and 1).