fixes in play and gm scripts
fix error in socket handling in gm_client
use ?DBG instead of ?D