Add Enable displayWindow Dialog preference

Some people complain about the dialog popping up at inopportune times.
If they set this preference to 0, it never should. Going to leave the
dialog enabled by default, but if it's a problem we can default it to
disabled.
Merge branch 'master' into 32bit