[screen] increase line buffer and small cleanup.