Added missing return statements, added cleanupFiles() method
Some tweaks/bugfixes, added refresh methods to MainSidePane, implemented refreshLibraries()