Parts out-of-context after renaming internal assembly

I think renaming a couple internal assemblies caused parts that referenced that assembly to go out-of-context. If I open the out-of-context part and choose to edit it in context, SW opens a file that's stored in a folder named swx3416 in a temp folder buried in Documents and Settings. There are a bunch of similarly named folders there.

Most importantly, did renaming the assembly cause this problem? How to fix?

Anything I should watch out for when I begin to externalize the assemblies and parts?

How to prevent the clutter of swxNNN folders?

Thanks.

SolidworksAssemblies