Extend the tex include commands array to include those defined in the preferences.
Replace all calls to insertText: to the more appropriate shouldReplace/didChange combo.
Added an 'output directory' setting for projects and documents.
Allow a wider completion window.
Scroll after putting in a newline. No idea why this is needed now.
Added support for subimport and import
Some code hardening.