Improved ApplyMask.  Better use of black/white and overload with Bitmap.
One more type as arg: Uri.
Layer and Mask take an external resource.  Must optimization still needed.