Fixed initialization bug; slight change to management of signals.

* Fixed a bug where the ShutdownChannel was only declared by default, rather than initialized.
* Moved the signal.Notify() call on the ShutdownChannel outside of the WaitForShutdown routine, to allow users greater control.