Change processing of '\0' in buffer

Change the processing of '\0' character in display buffer. This
character is now added to the text as space. This makes the underlined
fields visible on the screen.
TerminalEmulator handles format word from input fields
TerminalDisplayWidget handles resize events