Fixed issues with database tables not being inserted correctly.
Had to change Bank.lastOpened to DateTime (which is probably better anyway), and it only uses long when sending the packet now.