plugins listeners take (input, match) now- fixed match being assigned to last match reference. More structured logger with error stack traces