normalize anonymous inner classes, test empty array to list
efficiency, resiliency, logging
toString() improvements