Big refactoring.
Session implemented as container of editing data.
Text is only datastructure now.
some bugfixes