Added color parameters for modules.

Added 'double click to toggle loop' feature