The way I deal with the M/X problem on the Copals is to remove the lever that makes the actual change. On your photo, kerne, it is on the edge of the frame just above the red' Slow speed' text. If you hold it tight to the main shutter body and then bend the lever at the point where it bends 90 degrees for its main length, rock it up and down and the metal will snap.
Be sure that it is in the X postion when installing the lens shroud.... oh heck, wait a minute. One of the points of this is that I can still switch it to M if come across a stock of bulbs and want to expeirment. I can slide a skinny screwdriver in the mM/X slot and move it back and forth.
(uh, be sure to slide it to the lower-X position!!)
GFC, here's a link to exploded drawings of the D-
http://www.kyphoto.com/classics/repairmanuals.html
Enter the ID and password they list at the top of the page.
The hardest part I find working on Yashicas is getting the coverings off. If yours are coming off ok, it might be worth going inside the body to tighten up the focus. There are two smalls bearing pieces at the end of small tubes with springs behind them. But you might find that what you need to do is loosen the plate holding the back one in place and press it forward to take up slack.
The big thing to watch out for is pushing on the focus axle after removing the focus knob and nut on that side. Because if you push on it, the cams might pop out of place and the whole axle slides towards the other side of the camera. Now you have two loose focus rails- I always like having one 'master' on any mechanism repeated just for reference. On a Yashica-Mat, having the axle slide away from the focus knob means removing the whole wind and shutter-cocking mechanism, not difficult but tedious.
If you go inside the focus knob side. might as well clean and lube the winding mechanism. Probably some dried out grease and dirt and bug pieces in there.
I