Fix multi-plugin 500 errors

Should also be able to close #17 and #14 with this.