Second attempt at autorefresh, now with 100% less flicker