fixes #3: RTE and R00 variable sentences, other minor bugs