Rather set session_cost and message_cost to zero than use substration in session_credit_cost and credit_cost calculations.
Remove dangling bracket.
Fix checks for rounding costs towards zero.
Rename credit_cost to message_credit_cost for clarity.