updated display logic and set maximum sequence images

Restructured some variables, display text and set exit on reaching max
images if number sequence is selected.  Still need to set an option to
exit after a specified time period