Added an onCreateDot event for Emitters, added a helper class for randomly selecting integers from an array