Client refactoring, full working chat, c# gamemode support