Ricbard, you might consider a Magnetic Loop. It will be hard to get high efficiency on 40 metres, but at 20 metres I have had success with a 1 Metre diameter MFJ loop and 10 watts. If you have a large window though, I would try for a dipole, either straight
or bent as Curt suggested.?