Implementing review comments

Updating threshold, improving detection of screen being shown, making
TestHarness do threshold check when comparing screen to reference image.