Corrected bugs in the plugin example
Updated documentation, in preparation for v0.4.0