Support for dynamic theme changing (related to issue #2)