fix line wrapping, synchronized writing to document, add comments highlighting
Merge branch 'master' of https://github.com/shum117/SmallIDE