fixed bug in pathfinder convenience functions in register
added 'random' record to register, switched to mixin system for most records, got all existing tests working