you have to focus on what is positive about your situation. at least you know you only have to deal with this for two weeks max...probably won't have to that long but that's the longest a doctor will allow. just try to get some rest before baby comes and he/she will be here before you know it
I was the same way 39 weeks went to my weekly checkup on a Tuesday and was not dilated, my water broke on Thursday and I ended up having my son Friday morning. your baby will be here before you know it!