Since you mashed high and a lot of conversion got done at those higher temps in the first 15 minutes you may have a malty beer.
Take a taste when fermentation is done and see what you think. If it is not what you want at all check out threads on beano and amylase enzyme powder
to try and get some more conversion but still if you were shooting for 1.067 and got 1.040 you are going to be way off the original plan anyways.
Check out threads like this:
As far as missing your mash temp. Are you using software? You want to make sure to compensate for the temp of the grain with the water to meet your mash temp. Software like beersmith does this and you can try out a free trial if you want.
The software will warm you that you need to heat your mash/tun so what I usually do is put the strike water in 5-10 degrees hotter than it say and let it sit to heat up the mash/tun then when it hits the temp the software say, toss in the grain and stir like mad