criat: HiDPI option in popup.

Also, transfer of debug/hidpi state to existing windows (mostly
working, dpi change does not autorefresh).