Save hyphenation algorithm as cre document setting

and add hyphenation restore to floating punctuation toggle workaround
Merge pull request #488 from thotypous/master

Save hyphenation algorithm as cre document setting