ControlHostService main form closing event

If the main form closing event is cancelled by a previous listener, then
the documents now won't be closed and the cancellation won't be
potentially undone. Closes #14.