Minor fixes, added an error dialog if there's insufficient funds to buy an item