Fix and Update Windows build

* Use latest version of libgcrypt (1.6.0)
* Fix Windows file access - forgot to add O_BINARY after last
  significant file IO update
* Plug memory leak in password/key file data allocation
* Change look-up of Glade file during debug