removed unnecassary template type
event buffer now discards events oldest events first
removed two unused template datastructures