# lots of small fixes
# logger writes immediately -> in case of a crash it will still write its last messages