Fix the lag when there were no plugins installed.
The lag was caused by a queue, which was infinitely filling itself with
events.