rendering optimisation + small fixes
haxe 3 compatibility
update readme