Rewrote constructor to fix stack corruption.
Copied code from NppTags.