Adding missing pinMode() commands for inputs.
Setting all IO to INPUT_PULLUP mode immediately after boot.
Adding magnetometer/cloud detector firmware MagCloud-0.22a.