Cleanup format and unnecessary statement
Improve error handling when trying to parse invalid XML
Small fixes for native runner
Use import for editor.Document
Remove pointless sync block
Fixes for thread handling
Ignore very large JS files on inspection.