Added a check to SnapTracksThread for disconnected graphs (was causing null pointers before)