Ok, so there are clearly issues with xvid and CS5. I have found a solution that keeps the program from freezing up while rendering out a single pass AVI (we use them when rendering short static videos).
In the options for the xvid codec: There is a button for “other options”, under the encoding tab, you must uncheck “Display Encoding Status” When that is unchecked, our AE renders fine.
John