optimise fire.py
Add c implementation of the fire animation
add gamma correction to fire
fix bash glob injection in device filename