a lot of changes
Implemented sync between text and its hex representation. Hash codes are recalculated if on text or hex text changed