Over medium high heat. Cook sugar, water, corn syrup, vanilla and maple flavoring for about 10 minutes. Mix cornstarch and water. Add cornstarch mixture to syrup mixture, stirring constantly, until the mixture thickens, about 1 minute. Serve warm or at room temperature over waffles or pancakes.