Fixed errors when a ui layout asset defines layout hints for layouts that do not require them.
Added module access to TeraBullet's math util.
Added an onClosed() method to ControlWidget, to be called when a UI is closed.