Flattened amount/commodity into Entry record.
Added verify-balanced function.