Delete unnecessary debug codes.
Added bitmap recycle code in dispose function.