added server errors and minor bugfix
made client work with 2 players