Cleaned up code. Added new GUI mechanics. GUI now near to finished.