Found and implemented the original fix made by ScintillaNet to the scintilla dispose bug in their own source code (https://scintillanet.codeplex.com/SourceControl/changeset/36876#Branches/2.0/ScintillaNET/Scintilla.cs).

It looks better and more elegant than my original fix, so I'll use it instead.