This is nice.
How would you solve the additional puzzle of the "screensaver time issue."
When people choose to run an app with this configuration of "tap-out" escape, the default screensaver timeout time of 600 seconds comes back into play.
as you yourself have noted, some applications don't like being "backgrounded" by the Screensaver layer and will in fact end up irretrievably hidden...
There is a way to
touch the screensaver timeout and set it back to another ten minutes, perhaps that could be part of the solution.
Code:
lipc-set-prop com.lab126.powerd -i touchScreenSaverTimeout 1
One final question, I wonder if the lipc-wait-event construct would be worth demonstrating too...