added helper function to get confirmed/pending/watchonly balances
added balance fields go GUI
fixed errors from repository