Tweak input size for settings. #2020
Add first two helper functions for sequential payment numbers. #2020