More work on the base ui class
Working on a generic debug object