Added support for hidden apps (bug 1019249, 1019251)

heh, you pep8 it you own it, right?