made it an "isolated namespace" engine; some namespace fixes