Removed dependence on old PMPL primitives used in glwidget