added priorities to refresh state so a lower priority refresh doesn't override a higher priority one.
fix aardvark mode
fix refresh state order
Merge pull request #14 from mikedlowis/refresh-priorities

added priorities to refresh state