Improve range docs * Improve code formatting and legibility * Various other readability improvements
all