xbrowser/console fixes (remove all dom elements and abort strata on shutdown())