correctly shutting down server on quit, exiting with exit code
Always logging debug messages to file, logging level only affects console output
fixed members table bug whem members were removed