Minor engine fixes.

Also add a blank spec file …to be continued.
Merge pull request #7 from futhr/master

Minor engine fixes.