work on s3m support
work on ncurses ui