makes reading the data and config file safe from IOErrors
makes writing the data, log and config file safe

adds resulting log entries
no idea