Removing global event scheduler.

No segfault in Travis at last!!!