fix levels not being logged properly, add make fatal errors actually fatal
better errors when we cant connect to mysqli
fix more weird styles junk