Fixed the statistic logger and added a new console option to print statistics. Fixed I/O error after returning connected clients.
Made minor modifications to the net_checker