Upped default chain length from 3 to 5. Added a chain length configuration option.

* Moved settings to a global
* Added comments to the config file, though it needs more.
* Placated my OCD with comments.