Added some locks to make sure that the bot won't crash if flooded with currency checks.
Using a new way to compare versions, the code is shorter and probably faster.
Fixed some issues in the updater related to versions comparison.