Added --unbuffered command line flag

Added --unbuffered command line flag. Made buffered operation the default.