Added prefs.
Merge pull request #1 from darkowlzz/prefs

Added prefs.