Add missing break statements to switch cases.

Fix several compiler warnings.