Fixed some SPI bugs, still not 100%.