Fixed Issue #1167

Added the "type" argument to calling qsettings.value(…), forcing it to
return type QString.
Added Variable names

Changed the use of the qsettings.value(…) function to call it by
keyword arguments rather than positional arguments for easier code
readability.
Ignore .DS_Store files