Atomic region bug fix.

Also added a couple shaded area problems.