Sounds like your little guy has gotten caught in the old "negative attention spiral." It's quite possible he needs more positive notice from you, since all these misbehaviors happened when you were preoccupied with other activities or getting ready for same.
Kids are natural scientists, and experimenting comes naturally to them – whether peeing at altitude or social experimentation. And we do well to be aware that kids lead incredibly frustrating lives, so acting out is inevitable, both because they desire what they can't have, and because they don't desire what they get way too much of. A young child's life is pretty constantly managed, and often abruptly manipulated, limited and controlled by their parents' plans, schedules and circumstances. And of course, their experiences with self-control and alternative behavior choices are extremely limited, and mostly beyond their reach.
There is a sane and happy alternative to the dynamics you have described. It involves two main components: understanding what is driving your child, and finding more ways for him to say yes than to say no.
Your son is old enough for the two of you to explore the communication ideas in a terrific book by Faber and Mazlish, How to Talk So Kids Will Listen, and Listen So Kids Will Talk. (You can read part of this really practical guide to communicating with your kids here: http://www.amazon.com/How-Talk-Kids-Will-Listen/dp/038081...) Learn how to help him identify his feelings and needs, and coach him in finding his own solutions.
I use this approach with my 4.5yo grandson, and am often surprised and delighted with how brilliant and original kids can be. The added advantage is that he is gradually learning good sense, and internalizing not only the need for rules, guidelines, and schedules, but also his own sense of self-control. He's a great little kid, and people are constantly amazed at how courteous, clever and wise his behavior has become.