Move generic source queries into dedicated package.
Add spell checking to emacs front end on reparse.