there were nearly a thousand present , all in costumes that varied from the ornate to the downright outlandish , and he had had to listen to a babble of different accents made the worse by an effort to speak the emperor 's galactic as spoken at the galactic university .