Added several 'break's to a switch statement that was missing them.