Minor changes to core engine, in particular no quotes when checking modtech.  Added one unit test which is passing.  Other cosmetic changes such as an egp and changed comments.