Bit of timer code copied from scratch project that seems to work well.
Just doesn't work well here.