Added support for hidden apps (bug 1019249, 1019251)

I'm going to ship it like this for now. If the UI is too bad I'm happy to do some UI cleanup commits.