It is possible it is your screen caver I was recently having problem wit the windows 3D Flying Objects screen saver it was encountering problems then shutting down it would then post an error message. I do not know if it would cause the problem you are having or not. I never had Frostwire running when I noticed the problem. I switched my screen saver to My Pictures Slide show and have not had a problem since.
I have a feeling the screen saver problem came with one of the windows updates due to the fact I hadn't changed any settings or installed any new software when the problem started. But I do have my machine set to auto update.
You might try a different screen saver and see if it continues to happen. If you are using a 3D screen saver try something different.
A Little Common Sense Goes A Long Way