Added "lifetime" parameter, which specifies the maximum duration (in seconds) that a given dot can remain in the field before being replaced by a new dot at a random location.  Minor tweaks.
Minor improvements and modernization