Allow polling frequency to be configurable

Keeps 10 second default, but allows user to adjust in settings