Added code to console/source mode so that function returns get linked
into top-level statements.

Write ddg.return.values table to a file when saving ddg.
Updated version number