Adding a null check for the camera to gaurd against an NPE.
Prep work to make ColorDecoder thread safe. Currently ids has unsafe access
and exposure outside of the class. Made methods private that need not be
exposed and commented out unused code.
Incorrectly remove CREATOR. This is required when implementing
Parcelable.