Lots of little bug fixes. SolveBioQery's test_limit works.