Length on arrays

Fixed usage of length() on arrays, added all available effects, and fixed EFFECTMAP references.