Added explosion animation, improved some old code