fixed bug with missing batches

- a bug in the sort-method caused some batches to disappear
changed batches-total counter

- the counter now reflects the amount of batches until the current batch
fixed bug with x-coords on multiscalarvisualizer
added x-offset for visualizers

- configurable in config.cfg
added json config support