allow unloading/reloading of engine, as well a new openFile method