general: fixes and improvements for several personalization features

1: D290 White spaces around docstring should be trimmed.
1: D400 First line should end with '.', not 'm'
26:39: E126 continuation line over-indented for hanging indent
31:6: E126 continuation line over-indented for hanging indent
43:1: E302 expected 2 blank lines, found 1
43: D401 First line should be imperative: 'Display', not 'Displays'
43: D400 First line should end with '.', not 'e'
43: D205 Blank line missing between one-line summary and description
85:49: E126 continuation line over-indented for hanging indent
97:1: E302 expected 2 blank lines, found 1
97: D401 First line should be imperative: 'Display', not 'Displays'
97: D400 First line should end with '.', not 'x'
97: D205 Blank line missing between one-line summary and description
120:1: E302 expected 2 blank lines, found 1
120: D400 First line should end with '.', not 'x'
120: D205 Blank line missing between one-line summary and description
149:1: E302 expected 2 blank lines, found 1
149: D400 First line should end with '.', not 'r'
149: D205 Blank line missing between one-line summary and description
168:1: E302 expected 2 blank lines, found 1
168: D202 No blank lines allowed *after* function docstring, found 1
236:1: E302 expected 2 blank lines, found 1
236: D400 First line should end with '.', not 's'
236: D205 Blank line missing between one-line summary and description
237:25: E126 continuation line over-indented for hanging indent
270:5: E301 expected 1 blank line, found 0
270: D290 White spaces around docstring should be trimmed.
270: D400 First line should end with '.', not "'"
303:29: E126 continuation line over-indented for hanging indent
317:1: E302 expected 2 blank lines, found 1
317: D400 First line should end with '.', not 'e'
317: D205 Blank line missing between one-line summary and description
326:43: E251 unexpected spaces around keyword / parameter equals
326:45: E251 unexpected spaces around keyword / parameter equals
342: D400 First line should end with '.', not ')'
368:13: E122 continuation line missing indentation or outdented
381:116: E502 the backslash is redundant between brackets
382:29: E127 continuation line over-indented for visual indent
387:38: E261 at least two spaces before inline comment
390:38: E261 at least two spaces before inline comment
396:61: E502 the backslash is redundant between brackets
421:63: E502 the backslash is redundant between brackets
421:61: E225 missing whitespace around operator
434:16: E222 multiple spaces after operator
446:13: E301 expected 1 blank line, found 0
446: D290 White spaces around docstring should be trimmed.
446: D400 First line should end with '.', not "'"
461:1: E302 expected 2 blank lines, found 1
461:34: E251 unexpected spaces around keyword / parameter equals
461:36: E251 unexpected spaces around keyword / parameter equals
461: D202 No blank lines allowed *after* function docstring, found 1
461: D400 First line should end with '.', not 'e'
461: D205 Blank line missing between one-line summary and description
476:1: E302 expected 2 blank lines, found 1
476: D401 First line should be imperative: 'get', not 'gets'
476: D205 Blank line missing between one-line summary and description