Comment out mode changer
Restore opened tabs instead of just unsaved files. Also fix bug related to OpenSession with data.content not saving the contents to session.Content