applying color theme to all dialogs. Adding preferences dialog. Still erroring.