Merge pull request #447 from wolfmanjm/upstreamedge

apply M200 after queue is empty
Fix M82/M83