added a tick counter. Used in conjunction with breakpoints this makes it easier to evaluate the performance of Octo programs.