fixed recentf issue; added rainbow mode support