clean up of GUI