SendNpp() and re-scoped some variables.
Cache the current parser when switching documents.

Better code efficiency to not have to look up the current parser anytime a new line is typed or any other even handleNotification() has to check for.
SettingsDialog is more efficient when loading parser

Every time loadParserDefinition() was called, the preview was getting updated multiple times since each edit box generated a notification when the text changed.