Make apply_blur and make_shadow_bitmap static; remove an unneeded local variable