Improve interface between program and tentmarquee lib.