Changed to use simple buffering in displaying.