Use int64_t for getFormattedCurrencyAmount to avoid overflow issues with negative balances.
Catch any exception in MainWindow::openVault().