fix my heap and made a queue for queuing up drawings to the canvas