centralized remote debugging, plus a few other optimizations
further work on Element