Added functions 'off' and 'on' for use when temporarily suspending a program.