moved register shutdown function to constructor to catch E_FATAL as early as possible
bugfix: logError did not log when log-file did not exist
Merge branch 'master' of github.com:octris/org.octris.ncurses