public void onModuleLoad() {
sys = new GwtStatisticsEventSystem();
panelComponent = new DefaultDebugStatisticsDebugPanelComponent(null);
xmlComponent = panelComponent.xmlComponent();
logComponent = new DefaultRawLogDebugPanelComponent(sys);
em = new GwtExceptionModel();
// Find the debug-panel div, or add it to (current) bottom of page.
RootPanel root = RootPanel.get("debug-panel");
if (root == null) {
root = RootPanel.get();