added ability to change the theme on the fly.