added errors plugin

prints and clears errors that have been seen during
execution of plugins