[IN-75] Fixed this issue.

Graphs should not crash the application anymore.
Minor other improvements.