close stream in PropertiesLoader;
remove unused code in Installer
fix uncaught exception