focus and select window everytime ctrl-g is pressed
remove unused function