Begin of game connection, correct bugs