Fixed two problems when showing the graphs (before they weren't
updating).