Resolve "Restrict the number of slots in one configuration"
Ensures that the number of slots cannot cause wrap-around time slot configs. Also fixes the issue that the num. slots could be negative.
Closes #222 (closed)
Edited by Georgios Andreadis