Fixed a few form bugs where instance variables weren't being setup.