Closes graphs automatically, fixes some parameter name typos.
Fixes bug that imported likelihoods into the database instead of relative likelihoods.