added a setMaxNrOfBufferedLocations method to the event manager