Miscellaneous fixes for marking and enforcing required fields and the like

There doesn't seem to be any validation when the upload is blank. So it always gets saved even when you don't upload anything.