started changeover from blocking polled SD card writes to data portion interrupt driven and non-blocking polling code