upgraded the filemanager for nicer integration; reworked parts of the JS