Added windows changes for a unified build. Added Dialog fix which
prevented from saving after going online. Added windows « errno » use
redefinition to suit WSAGetLastError and protocl needs.