resize client by pixels, not by tiles (and other more minor changes)