Filesystem Bugfixes + Dialouge Box + Improved Error Handling