Adding code for viewing the working mesh