Move to OpenFL. Fix for latest Haxe3 release. Remove unused imports here and there.