Async notification fixes

Francisco,

I'm re-submitting the two fixes in PR 46 that are clean and correct.

This will fix the CPU hog problem you were seeing, and eliminates the need for the odd Sleep() call in ProcessServerMessages().

-Glen