Remove processEvents

This doesn't really have a purpose, and appears to cause issues for
faruton's plugin, so removing it for the time being.