src/Helpers.c: move array's limit check first.
Fix a few variable reassignments.
Fix uninitialized variable.
Fix resource leaks.
Update Scintilla to [687873].