There is no "solution" to the problem. The interface is basically flaky and you just have to learn to live with it. I have to unplug and then plug the USB an average of three times, every time I try to upload a sketch. And then , once the sketch is uploaded, I have to unplug it and plug it exactly twice, before the serial monitor will work.
Aparently it works better on linux.