Simplify checks so that one check doesn't influence the following one. Checks no longer pass the last-visited frame number into the "start frame" parameter of the next check. This way all test values are hard-coded and easy to read, without having to understand how all the checks fit together. No functional changes.