and not for mainwindow. should fix error where programs using different visuals could not run together.