Added a better Error Handler, thanks to Icyene!

Icyene is a bukkit forums member who created this library, thanks to him
:)