added rebuildVars()
fixed vector.length
haxe 3.0 fixes
Merge remote-tracking branch 'refs/remotes/ncannasse/master'