Added spacing calculation every requested number of iterations together with code clean up in a few places.
Adds x axis on spacing chart. Adds dynamic toggle on monitoring page
Small fix and simple multiprocesing refactoring