added debug proxy to print GL calls
fixes for openfl, now rendering h2d fine !