switch focus back to head when closing the scratchpad
properly map scratchpad when changing desktops
switch check_scrpd around to use the window instead of a client