another occurrence of printStackTrace that should only be run if
GlobalConfiguration.debugplugins is true
Merge pull request #74 from zyro23/print-only-when-debug

another occurrence of printStackTrace ...