First draft hack of yabause 0.9.13.1 changes

Not sure what else would need to change right off the bat upstream.  Also, there are some things I may have missed as I have not reviewed the entire architecture of the sh structures.

Should be somewhat workable.