improvements to running and docked commands with terminate and restart key combos