Added display functions for the idle screen and to handle buttons and timeouts.