small fixes in scriptsettings panel

fixed problems when linearmode was activated
fixed warnings which got shown in log (array in key check was missing)
Merge branch 'master' of github.com:ManiaAseco/MPAseco