Added ESC key to shut down script if needed.
Ability to shutdown running script with ESC key