Fixed 'length' typo

This is going to break all the saved projects, as it will change the
expected string in the ini files, from 'time_of_flight_lenght' to
'time_of_flight_length'
Directly run in bash fix
Format error fix
Deprecated warning fix
Merge branch 'Caffeinomane-experimental' into experimental
Fixed many memory issues from coincidence program. Also added some new features. These modifications should not require any changes elsewhere.