small fix (added a new line in text generation)
added addButton
added text generation in the constructor
implemented OIBlock in BreakToSegments