Grbl buffer

Added grbl buffer algorithm logic, also added verbose flag to main, to
prevent logging unless -v flag is specified.