Turn on "use strict"

and fix one bug accidentally relying on implicit globals.
Add basic definitions for GX constants
Add support for GX_CULL_ALL
Fix ops
Restructure code and fix textures