Fixed gamma not being maintained across restarts.
Added dobuilds.cmd to easily automate building for 32-bit and 64-bit and packaging zips.