I have a similar issue, but it seems to be all programs. I have not found one yet that stays open. Closure seems to be random in terms of activity; I tried disabling the trackpad and it might have...