Fix several small issues

These commits fix #19, #50, #51, and #53 by adding several new features.  A few warnings are cleaned up, and plugin versions are bumped to x18.