added safe_unmount function and personal settings file that was missing
did some cleaning work :)