Added event queue mutex.
Began work on event filters.