linenumberswidget does not rely on main frame anymore