bug fixes: handle missing args gracefully, reduce flicker when debugging functions with supplied source, activate environment tab when debug starts