Fixed a few bugs such as account balance overflow, depositing negative balances, etc.