ghastly thoughts flew through his brain one after the other , and he was just about to go into a mild panic when the elevator suddenly began to slow down and the flickering lights renewed their erratic luminosity .