fixing up src files, script, and dat.gui