First working function binder + Haxe 3 fixes.