Minor refactoring.
Enhanced monkeyrunner script. Almost rewriten.

- Added the option to set the source file.
- Added the option to set a download limit.
- Added the option to set the basedir.