Some notes on ui and  drawing in Haxe