rebuilt ui system. drawing is currently broken