[CAST-1774] Diagrams' options fixed.
[CAST-1774] Scrollbars fixed.
[CAST-1777][MERGE] Merge branch to the issue related branch.
[CAST-1777] Classpath fixed.
[CAST-1777] Tests fixed.
[CAST-1777] First version implemented.