Butchering the code; want to rollback
Revert "Butchering the code; want to rollback"

This reverts commit e35b93d38b82c808f42903838afda7b8cf858f5f.
Unregister the Native Hook on exit