Added correct balance counting for disciple.
Fixed some application crashes.