serialization and preset loading in modgui.js
Merge branch 'master' of github.com:portalmod/mod-sdk