Lots of changes for haxe 3.0/openfl compatibility