added dat.gui support, and fixed it up so it works better on my impractical.me setup