msc_find_window
win = msc_find_window(msc, sgt, false);
win = msc_find_window(msc, msc_next_window(msc->cur_win)->sgt, true);