Fix issue #356  - Crash on save Project Settings
Fix issue #365 - crash on min/max saving
Merge pull request #361 from olga-jane/Protsenko_bugfixes

Crash on save Project Settings and on min/max > 1000 saving