Load theme fix. Closes #748

Load theme from the config file.