A bunch of UGUtils improvements