cleaned up certain functions
Extend method; changed script include order; hide controls when WebGL is unsupported