If you went and changed any of the files in the folder for textures and such, that was a big no-no.
Have you tried flushtexturecache(); yet? If not, do so when the problem occurs.
Which video / graphics card do you have? This information can help us solve the problem.