Made file browser generic

Hopefully this will clean up some of my general sloppiness when it comes
to directory changing to get at the files that the user selects without
needing to go through each .py file and change os.chdir(cmd_folder)
nearly as much anymore.

Added default log entry to Preferences panel.