Use Map instead of Hash, fix image getter/setter

Haxe 3.0 compatibility. Hash->Map, observe new getter/setter tradition