First attempt at the non-test main() processing, and fixed small bug in dynamic programming. TODO: msa::star()