Proxy and windows workarounds

Fix proxy authentication issues.  NTLM Auth still doesn't work for some
reason.
Windows workaround: Call show() when you launch a popup.  This prevents
the application from crashing.  I still have to figure out why this is
happening.