Use closure to guard against presentation of incorrect image due to tardy ajax return
serialise listing requests
Protect line_positions call
Indentation change only