Disabling error recovery.
wip
Do the scanning and parsing in separate threads.
Slightly messy, but it works.