Fixed problems caused by upgrade to stdgui2, etc.