Added improvements in the way of load bitmap images.