UI: Proper unsetenv is needed for Windows