Use enums in onConnection and onDisconnection
3 initialization states. Do not throw if library is uninitialized
Allow dispatchcall to return null if stopped
Send WM_CLOSE to toplevel