Brookes record import, minor bug-fixes.