cleaned up gui