Running xiwi subl does not work even after installing libgtk2.0-0. If you run xiwi xterm and then subl from that, it works fine.
Stuff that immediately forks on launch confuses xiwi. It appears that subl has a -w command that avoids forking, so try xiwi subl -w and see if that works better.
Another example is gvim, which requires the "foreground" flag: xiwi gvim -f
That worked great thank you! Light Table, backed by Node-Webkit also forks on launch. Is there a command line flag for that one?
I just searched the interwebs for subl parameters. Try adding -h or --help to whatever command you use to launch light table and see if it prints out a list of valid parameters. Hopefully in there is something that stops it from forking/running in background.
Most helpful comment
Stuff that immediately forks on launch confuses xiwi. It appears that
sublhas a-wcommand that avoids forking, so tryxiwi subl -wand see if that works better.