Implemented a way to unregister desktop messages