implement last_read functionality in both SATools and GUI