Small changes to improve code maintainability

and small adjusting in the help balloons positioning