Timer functionality for refresh in place

Though it probably doesn't work properly...