Added particle lighting!

Also fixed ending bugs and made it impossible to create multiple
particles in the same coordinates.