(After seeing something really stupid happen.) What... Why... I know I'm pretty stupid but that's certainly more stupid.
(After seeing something bad.) Oh, dear. or Oh Jeez.
(While seeing someone about to do something not good.) (Please) Stop while your ahead.