Mainly tidying things up, added SPI big bulk write capability