Added option to turn off display after certain period of inactivity.