Added a icon for the document completion suggestions
Added code completion (from static list of words or from the document atm)
Better file handling (makes use of the with statement)
Update example