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

issue #356 - Crash on save Project Settings
issue #365 - crash on min/max saving