Lots of little bug fixes, and improving scripts for signing & releasing