Changed autorefresh to start at the end of initialization and check with if-modified...