adding PlanetMath test, improving on MarkTokens performance and Preprocessor code quality