Added timeout_counter in LCD interface to stop program from hanging
Main program and reader now stable when button is pressed