Fixed logging particles, need to test.
Tested and successfully logs particles. Removed debugging print lines.
Loc and viewer fixes, seems pretty good, not robust in that could fail spectacularly, but it is acting reasonable considering the data...