Fixed lag issue & cleaned up gui