Merge pull request #16 from mWater/issue15

Fix #15
Merge pull request #12 from mWater/issue11

Fix #11
Fix #14
Fix to check for null bitmaps caused by decoding errors on some phones.
Merge branch 'issue14'
Merge branch 'null-bitmap'