allow changing message check frequency

Closes #2