Updating client+server

mostly bug fixes (also better leaving room/empty room support on the
server side)