changed ctrl-w and ctrl-shift-w to do closing instead of word selection