Added G5.Support, G5.fullscreen, G5.typeof, WebGL support and fixed a few bugs