added logging messages, removed out-commented source
remove unused redeclaration
source documentation added
change due to refactored function name in PluginController