Thanks for writing this. I once had a Dwarf Fortress game that got lost to a hung ssh session; I could have used something like this.
Does it work with x apps? Because it would be great to be able to start my IDE over ssh on the laptop knowing I could switch to the desktop with losing what I had open.