Keep preferences window on top; small CSS bugfixes