fix the IORef implementation of Locker
recreate the UseGHC flag
fix haddocks
remove useless pragmas
Merge pull request #12 from Changaco/master

Fix IORef implementation. Reinstate UseGHC flag. Minor cleanup.