Prevents re-drawing when inactive to save CPU.
These are versions of this script where the code was updated. Show all versions.
Updated with Rangsk's version: Lowers CPU usage by preventing re-draws while no inputs are occurring.