Changed the way deployed portlets are detected, cleanup of status printing