Fix notifications
Fix #53; document locking
Configure IO notifier in tests

This would prevent stuff like 9a0b163e1a6d9074c4d46eb1ff890225f68b625f.