installed widget system rootwindow main loop and base class