New CVar writing method + Windows DOOM3 detection