Any reason you want a 40ft boat? Is it just you, you and the Mrs, any kid coming along, pets?
I ask because 30k for 40ft is stretching it. I'm sure there are some boats out there, but I'd bet they all need some decent work. On the other hand if you could see yourself going down to 34ft or so, 30k will go quite a bit more. I'd think something like a decent Catalina 34 would be right in that price point and would probably make a very comfy live aboard. Or a Morgan 33 OI would generally sell for mid 20's and is a very spacious boat.