fixed bugs in Bank and Timer leading to balance = undefined (should never happen)