Fix several bugs in SynthDesc:makeGui

This resolves an issue noted in Marije's pull request 813, as well as a few others noted along the way.