Added SPI init code and moved some vars around

also added some LED optimization (only updates every LED cycle); added
LED convenience function