For disabling -> exclude "default.c"

for the other thing: You could also make a temponary savegame at the start of the level or as you said: resetting all vars