Suffix links implemented. Many bugfixes.