Fixed a waypoint bug.

Fixed infinite loop in non-truck cranes with departure.
Fixed some exceptions.
Merge branch 'master' of https://github.com/Jordi1990/Containing-2013