Merged requested to merge feature/bug_moving_scalarbar into develop
This fixes precis issue #14 .
It does not re-compute a new scalar bar position when enabling it after it's been computed a first time already.
It also changes the default position of the first scalar bar: vertically on the right edge, where there is most space and where it is not obscured by the menu pane on the left edge.
And it removes the unused variable 'loop'.