Event System Implemented

Huge potential on this, you can now process events as they come along.
All the base features are pretty much complete. Scripts are also have
their own threads, so you can do some mondo crazy now.