Fixed possible leak when destroying a ModelWidget instance. Objects from
scene were not being deleted correclty. Fix tests in progress.

Fixed the "Save current session" option on GeneralConfigWidget that
wasn't doing it's job correctly.