Fixed anemometer counting. Some code cleanup
Fixed SD logging