Fix error checking in debug build
Move Seg_depth into render_seg_map
Move processed into render_seg_map
Track render window by &