Get rid of check array calls in lib and just do a check that the array exists (not idiot proof).
Call children in layout.
Additional work on layout.
Prevent negative width / height.