Use KbCheck to look for quitkey during experiment, and make sure that right order of imageA and B is used