Merge "StatCounter: Use Config instead of globals"