added window-minimization and some minor keyboard tweaks