Today I learned something

So, yesterday was a good day, because I finally got a push to do something about my lingering ambitions. And that's what I did today. In the process, I learned that the MacOS X is not as stable as I thought.

As I was playing around with a simple application for monitoring the system clipboard (called Pasteboard in MacOS X), I managed to corrupt the clipboard. After my application quit, any other application that would try to access the clipboard would go into an infinite loop.

I have put some proof-of-concept code on GitHub, under