Code fixes for JDK6
PluginManager now uses file filter properly
Minor code refactoring