Completes haxe3 port of dust. Breaks compatiblity with haxe2.10.