Using the kit lens from the D40 on the D50 is not a problem. As for the shutter problem on the D50, that may not be a camera fault; it depends on what you are/were doing.