Minor fixes to preloading of graphs