adds preprocess step, refactors/fixes reference mangling, various fixes
error handling: fix exception when suggesting valid tokens at a valid end-of-source point
usage-count references used in assertions even when not asserting to prevent notices of unused references
adds global import