I was trying to do a simple Music / TAB tonight and ran into the issue of maximum fret. It should probably be set per instrument. but left adjustable.
Electric guitar is 21 to 24 frets
Acoustic/Classical guitar is around 18-20
Otherwise if it is not set per instrument, then setting it to 24 will get most modern fretted instruments.