Use > rather than >= for end test with TO/UPTO.
Handle BELOW as well as TO/UPTO.
Remove non-existing variables from IGNORE declaration.