Fixed several settings related problems

1. path is a keyword, should not use it as param
2. the way of checking if a real file was being used was faulty.
further checked save settings. Looks workable.