Starting to separate out the threshold logic

This won't be the final form it takes, espcially since "errors" property
is too specific to the current use - checking for errors. Integrating
lag check into the simple-query should drive out this difference