Handle memory changes in Clocks + add simple Timer implementation
move code which changes TAR to extra method
some older fixes