Experiment: First attempt at adding support for auto-unpausing (kill -CONT) paused apps when switched to. Works if switching apps using CMD-TAB, but not when clicking on the dock icon.