Minor changes and added start check of sensor read