fixed filesave and dat.gui persistence, updated datgui
added resize handler