Fix on ISSUE #69: Make modules unregister message handlers in dispose()