Fixed logic of scales, added more error dialogs
Merge branch 'master' of https://github.com/dentuzhik/gas-analyzer-lab