Cleaned the code and improved functionality for rendering the bitmap