bunch of cool changes to particle filter