Added selective screenshots by circumventing a race condition in scrot gaining access to the keyboard.