removing all the old CAppUI calls in favor of using the theme