Added more comments, modified png rendering