spellcheck progress
added fclose
functional spellchecker