add support for long texts

Signed-off-by: Mattias Andrée <maandree@operamail.com>
reduce flicker

Signed-off-by: Mattias Andrée <maandree@operamail.com>
whitespace

Signed-off-by: Mattias Andrée <maandree@operamail.com>