error handling in entityFactory
events: removed checking if index is outside container in every operation, now there is preallocated high amount(user-configurable) of event queues slots. Removed old TODO from singleEventQueue
Removed pointless blank lines