redid dispose and bitmapdatacaching

Set bitmapdatacaching to true by default. Used image dispose. Avoided
setting the image null.