better debug control. added runPhantom. loadPlugins isolated.