bug fixes and new helper functions for entity properties.

Fixed bugs in fgame.clearAll()
Experimented with new haxeui for editor