Merge "Process runtime sensor events in a separate thread." into main