The variable already already exists. If it doesn't exist the var_SetString("window", "qt,any") should fail as the UI won't work properly anymore.