Bug Fixes; Logic Update

Various bug fixes regarding order modifications and the total balance
indicator.