Added a user preference system, and allowed interval size to be set.