Implemented Win32 Shutdown & UnregisterCallback.

1. Note that there's probably work still to be done in the Proxy,
tracking updated flags after UnregisterCallback and shutdown stuff in
Shutdown.