Further work on interval clock. Events work now, at least I understand how to use them :)