fixed crash on close
Merge branch 'master' of github.com:Sankore/Sankore-3.1
The name of the ubx file is the directory name
fixed issue 1
fixed issue 2
fixed issue 3
fixed issue 4