Rewrote spyware event buffer, hopefully more robust now.