Themed preference dialogs

many ui improvements and fixes