Added logic to center text on canvas image; changed text rendering function name to wrapText
fixed merge conflicts