Simplify uxmgr.h

Get rid of most static functions and a couple of helpers
Also make ~ux virtual