Workaround for NME setTextFormat bug by @sergey-miryanov
Make Console and ConsoleCommands be compatible with haxe3 by @sergey-miryanov