The Windows graphical version in NetHackW.exe is meant to lock itself to its own windowtype and ignore the OPTIONS=windowtype setting in the config file, but the code to perform the lock only did so if (argc > 1).