I used bamf, because looking for the name going away doesn't handle the case where an application window closes, but the application keeps on running (eg, multiple gedit windows etc....)
I used bamf, because looking for the name going away doesn't handle the case where an application window closes, but the application keeps on running (eg, multiple gedit windows etc....)