Added shutdown function for devices

Yeah, even for LEDs. Shit's just got real.