move window to selected screen; remove double entries in resolution list; fix wrong variable