minor fixes (mb chlid spawn/control code will be rewrited with g_spawn)