Fixed: balance calculation now tracks confirmed, unspent outputs.