Merge pull request #3 from dotandbo/master

Fix typo causing failures in order sync
protect against cost RO writing $0 cost
correctly remove empty shipments; remove unreachable code
add additional logging