Misc but important bug fixes

when experiment ended w/o abort, results were not being saved! fixed