Added a loggin message, and changed refresh interval