Added support for hidden apps (bug 1019249, 1019251)

Yes, but I'm not sure if there's a way around it.