Added light bulb simulator
Moved socket reading out of animate handler so as not to block UI