Added reading of key presses, remaining of screens and toggling between screens.