Added range check to removeClient; removed some debug output not longer needed.