Fixed filtering out directories when spec is specified.
Fixed loading a non-existing file.
Added Preferences menu to simplify access to system/user settings.