Added possibly unstable functionality to DMLexer that may allow it to pause and resume.