Here's an answer that was given on another board to a somewhat similar question about accidentals;
"the highest accidental required on any inversion of a triad is placed closest to the notes, the lowest one required is placed a little farther from the notes, and if all 3 notes require accidentals, the one for the middle note is placed the farthest to the left.
This means that, if only the two bottom notes require accidentals, the sign for the middle note of the triad is closest to the notes, but if all 3 notes require accidentals, the one for the middle note is placed the farthest from the notes."
I guess you can look at some printed music for height of the accidentals.
The problem of note-heads in an inverted 7th chord is that two notes are a second apart, so one of them must be drawn backwards (on the "wrong side" ) of the stem. I think the upper of the two notes is drawn wrong for stem-up chords, and the lower of the two for stem downs, but that's just based on what looks right to me.