R3 import and history trimming improvements