fixes to the restarting solver
Merge remote-tracking branch 'upstream/master'