Fixed sample dependencies and modified BitmapLoader.cancel().