More log messages and better error reporting if the theme file is not found