Graphing: Fix for crash involving tlogs, and final fix #318, clearing the graph when a tlog is loaded