Added setting for maximum number of rounds

Features:
* disabled by default
* configurable from console
* configurable in config.txt file