fix some issues
add dispose
upgrade to haxe3/javelin