Restore try/except around main processing code to catch curses exception when terminal size is too small.
Clear screen when resizing terminal.
Merge remote-tracking branch 'origin' into dev