Some logging for the Rhino engine, and a fix to the sbt plugin