Rewrite writeFlashByte, clean up writeFlashBuffer