expose methods for determining active site and refactor main logic accordingly
fix querystring redirection when URL hashes are in place
updated state handling options to allow manually specifying a re-check interval
hookup site preference cookie duration option