seeded random for bulbs
improved playback function in main