Fixed some errors that were crashing the game when the network was not available