Removed size restriction on tasks 'args' column.
Fixed repetition in dataitem-install script
New shared.get_average_distance function.