merged latest lwf (fix globalCompositeOperation and globalAlpha).
merged latest lwf (fixed addCommand call which internally calls insertIntArray).