The Rlabkey package with some minor tweaks