removed trailing lines
clean up code
rename whitelist to grammar
remove obsolete menu action
clean up, doc comments and remove trailing spaces