Remove nulls from ProgramEntrys in edit window

Untested. There may still exist nulls, but I can't think of any at the
moment.