Fix #17 - displayBuffer could only be even

- Due to a /2 error a calculation was looking for non-integer rows,
  resulting in an error