Minor improvements

* Make sure that destroying an app you don't own does not blow up
* Add TODO in code for logging CLT output