Fixed Variable Replacement Logic

Fixed logic to treat all variable modifier characters as formatting characters, once the first formatting character is found.
Fixed Default Year for Note Dates

Added check to make sure year of a note is not greater than today's date, and not greater than previous notes found (higher in the text) for the same event. .