Improved multi-threaded loading of grid lines.