Fix bug and tweak a little the timer code.
Merge branch 'master' of github.com:ademakov/MainMemory