Don't use global variables for particle effects files.

Used a table to cover map collision width and height, and make sure
to drop those tables before opening to trigger more often the lua
garbage collector threshold.