doing some GUI debugging and cleaning up