Ah, good ol' Android. Got to love it! Seriously, though, that was probably caused by a process running in the background having some problems (the mail app is a pretty bad offender, I've noticed). The CPU get's overloaded and the device freezes for a moment or two.
That's the biggest risk of running full blown Android on a camera. You get all the connectivity and apps the device offers, but run the risk of missing a great pic if it freezes up. I try to keep the number of apps open on my Galaxy Cam to a minimum and make sure I am not connected to 3g or wi-fi unless I am not taking pics. Doing that will also extend the battery. So far, I haven't had really any issues as far as freezing goes (knock on wood).