debug print java.home
cosmetics
fixed possible nullpointer exception
support filter media type: "All/Any"