make ptp scripts enter alt on start if alt not already active, restore previous state on exit. Fixes camera not responding to canon or alt mode keys after running ptp scripts.