Changed algorithm for spreading gaps across the text. Added an option for bulk creation of tasks in gist_xml.