fixed type hint, added try/catch with delete of invalid mapfile
Merge branch 'master' of github.com:KSST/KF