fix crash in ui ncurses when loading mod with many channels
still ugly shit, this ncurses ui code...