no dll runtime
bugfix in patterns for filename insertion to log
minor code refactoring