adding debug mode
added 'theme'-option