Added support for hidden apps (bug 1019249, 1019251)

An image would help see the differences I think:
![screenshot 2014-08-12 10 29 01](https://cloud.githubusercontent.com/assets/1106/3894621/534a1266-2246-11e4-9f0a-507b888cc1de.png)