Fixed alloc failure crash. Changed particles randomization. Made particles multiple of thread number.