OK, I got the picture stuff fixed. Now, it is just hwo to break into the timer loop to check for a key press.