event: some fixes and improvements
spec: add some event specs