Added calculation method, and static dbread method to retrieve conversion rate.
fixed problem with progress bar not being destroyed when the parerent thread gets killed.