simplify graphics scene update, and fix segfault upon opening second file

Merge request reports

Loading