Maximal repeats

Maximal repeats integrated to UI and documented, but not tested.