some minor fix, exits for real when window is closed, checking for already mounted folders