only show message box on initialization error, revert log.c/log.h