clean up includes in streamoutput
refactor endstops
Merge pull request #293 from wolfmanjm/upstreamedge

clean up includes in streamoutput