Disallow empty blocks.

Related to #9849, #10072
Was it okay to move this comment when I created the `pauseUntil` function? I left the other comment alone because I don't know much about this code so perhaps somebody can advise?