More progress on randcontest command.