* BUGFIX * raise exception if template dir not accessable * better log level parsing and error handling for log settings * fix broken custom header handling * fix handling of working dir