Added better debugging. Plugin stderr goes to bot stdout