Merge pull request #40 from csmith/master

Remove some bits of PerformWrapper.
Add defensive checks to Styliser.

Issue DMDirc/Plugins#47