automatic page refresh support + config setting

Closes: https://github.com/pommi/CGP/pull/35