Improve header parsing and logging an error.
Removal of left over debugger statement.
Added functionality which divides cargo up into passengers.