removed dispatcher dispatch function and inlined it in update. Changed dispatcher queue function to dispatch all events if trying to queue an event would cause the vector to go over capacity.
added some const qualifiers to entityManager
Removed string field from event. Added event counter to disptacher. Added some const qualifiers to netowkr.