general: fixes and improvements for several personalization features

1: D400 First line should end with '.', not 'S'
2: I102 copyright year is outdated, expected 2014 but got 2011
42:1: E302 expected 2 blank lines, found 1
42: D101 Docstring missing
45:1: E302 expected 2 blank lines, found 1
45: D202 No blank lines allowed *after* function docstring, found 1
54:10: E222 multiple spaces after operator
56:26: E201 whitespace after '('
56:112: E202 whitespace before ')'
58:1: E302 expected 2 blank lines, found 1
58: D202 No blank lines allowed *after* function docstring, found 1
58: D200 One-line docstring should not occupy 3 lines
66:14: E126 continuation line over-indented for hanging indent
66:16: E251 unexpected spaces around keyword / parameter equals
66:18: E251 unexpected spaces around keyword / parameter equals
67:18: E251 unexpected spaces around keyword / parameter equals
67:20: E251 unexpected spaces around keyword / parameter equals
68:12: E126 continuation line over-indented for hanging indent
71:1: E302 expected 2 blank lines, found 1
71: D209 Put multi-line docstring closing quotes on separate line
71: D400 First line should end with '.', not 'Y'
71: D205 Blank line missing between one-line summary and description
90:1: E302 expected 2 blank lines, found 1
90: D209 Put multi-line docstring closing quotes on separate line
90: D202 No blank lines allowed *after* function docstring, found 1
90: D400 First line should end with '.', not 's'
90: D205 Blank line missing between one-line summary and description
98:38: E251 unexpected spaces around keyword / parameter equals
98:40: E251 unexpected spaces around keyword / parameter equals
99:27: E251 unexpected spaces around keyword / parameter equals
99:29: E251 unexpected spaces around keyword / parameter equals
126:14: E251 unexpected spaces around keyword / parameter equals
126:16: E251 unexpected spaces around keyword / parameter equals
127:30: E251 unexpected spaces around keyword / parameter equals
127:32: E251 unexpected spaces around keyword / parameter equals
128:28: E251 unexpected spaces around keyword / parameter equals
128:30: E251 unexpected spaces around keyword / parameter equals
129:11: E251 unexpected spaces around keyword / parameter equals
129:13: E251 unexpected spaces around keyword / parameter equals
132:14: E126 continuation line over-indented for hanging indent
132:16: E251 unexpected spaces around keyword / parameter equals
132:18: E251 unexpected spaces around keyword / parameter equals
133:19: E251 unexpected spaces around keyword / parameter equals
133:21: E251 unexpected spaces around keyword / parameter equals
133:69: E251 unexpected spaces around keyword / parameter equals
133:71: E251 unexpected spaces around keyword / parameter equals
134:20: E251 unexpected spaces around keyword / parameter equals
134:22: E251 unexpected spaces around keyword / parameter equals
135:23: E251 unexpected spaces around keyword / parameter equals
135:25: E251 unexpected spaces around keyword / parameter equals
136:26: E251 unexpected spaces around keyword / parameter equals
136:28: E251 unexpected spaces around keyword / parameter equals
137:24: E251 unexpected spaces around keyword / parameter equals
137:26: E251 unexpected spaces around keyword / parameter equals
138:21: E251 unexpected spaces around keyword / parameter equals
138:23: E251 unexpected spaces around keyword / parameter equals
139:27: E251 unexpected spaces around keyword / parameter equals
139:29: E251 unexpected spaces around keyword / parameter equals
140:23: E251 unexpected spaces around keyword / parameter equals
140:25: E251 unexpected spaces around keyword / parameter equals
141:22: E251 unexpected spaces around keyword / parameter equals
141:24: E251 unexpected spaces around keyword / parameter equals
142:23: E251 unexpected spaces around keyword / parameter equals
142:25: E251 unexpected spaces around keyword / parameter equals
144:1: E302 expected 2 blank lines, found 1
144:69: E202 whitespace before ')'
144: D400 First line should end with '.', not 't'
151:10: E222 multiple spaces after operator
155:1: E302 expected 2 blank lines, found 1
155: D209 Put multi-line docstring closing quotes on separate line
155: D400 First line should end with '.', not 'e'
155: D205 Blank line missing between one-line summary and description
156:51: E251 unexpected spaces around keyword / parameter equals
156:53: E251 unexpected spaces around keyword / parameter equals
181:26: E201 whitespace after '('
181:69: E202 whitespace before ')'
197:1: E302 expected 2 blank lines, found 1
197: D202 No blank lines allowed *after* function docstring, found 1
197: D400 First line should end with '.', not 'd'
197: D205 Blank line missing between one-line summary and description
213:17: W291 trailing whitespace
216:17: W291 trailing whitespace
238:74: E231 missing whitespace after ','
243:49: E127 continuation line over-indented for visual indent
334:46: E203 whitespace before ':'
335:46: E203 whitespace before ':'
336:46: E203 whitespace before ':'
337:46: E203 whitespace before ':'
338:46: E203 whitespace before ':'
339:46: E203 whitespace before ':'
340:46: E203 whitespace before ':'
341:46: E203 whitespace before ':'
342:46: E203 whitespace before ':'
343:46: E203 whitespace before ':'
344:46: E203 whitespace before ':'
345:46: E203 whitespace before ':'
363:11: E251 unexpected spaces around keyword / parameter equals
363:28: E251 unexpected spaces around keyword / parameter equals
363:11: E221 multiple spaces before operator
364:15: E251 unexpected spaces around keyword / parameter equals
364:28: E251 unexpected spaces around keyword / parameter equals
364:15: E221 multiple spaces before operator
365:18: E251 unexpected spaces around keyword / parameter equals
365:28: E251 unexpected spaces around keyword / parameter equals
365:18: E221 multiple spaces before operator
366:19: E251 unexpected spaces around keyword / parameter equals
366:28: E251 unexpected spaces around keyword / parameter equals
366:19: E221 multiple spaces before operator
367:12: E251 unexpected spaces around keyword / parameter equals
367:28: E251 unexpected spaces around keyword / parameter equals
367:12: E221 multiple spaces before operator
368:13: E251 unexpected spaces around keyword / parameter equals
368:28: E251 unexpected spaces around keyword / parameter equals
368:13: E221 multiple spaces before operator
369:13: E251 unexpected spaces around keyword / parameter equals
369:28: E251 unexpected spaces around keyword / parameter equals
369:13: E221 multiple spaces before operator
370:26: E251 unexpected spaces around keyword / parameter equals
370:28: E251 unexpected spaces around keyword / parameter equals
371:10: E251 unexpected spaces around keyword / parameter equals
371:28: E251 unexpected spaces around keyword / parameter equals
371:10: E221 multiple spaces before operator
372:25: E251 unexpected spaces around keyword / parameter equals
372:28: E251 unexpected spaces around keyword / parameter equals
372:25: E221 multiple spaces before operator
376:1: E302 expected 2 blank lines, found 1
376: D209 Put multi-line docstring closing quotes on separate line
376: D400 First line should end with '.', not 'e'
376: D205 Blank line missing between one-line summary and description
404:1: E302 expected 2 blank lines, found 1
404: D209 Put multi-line docstring closing quotes on separate line
404: D202 No blank lines allowed *after* function docstring, found 1
404: D400 First line should end with '.', not 't'
404: D205 Blank line missing between one-line summary and description
442:1: E302 expected 2 blank lines, found 1
442: D209 Put multi-line docstring closing quotes on separate line
442: D202 No blank lines allowed *after* function docstring, found 1
442: D400 First line should end with '.', not 't'
442: D205 Blank line missing between one-line summary and description
480:1: E302 expected 2 blank lines, found 1
480: D209 Put multi-line docstring closing quotes on separate line
480: D400 First line should end with '.', not 'e'
480: D205 Blank line missing between one-line summary and description
488:28: E251 unexpected spaces around keyword / parameter equals
488:30: E251 unexpected spaces around keyword / parameter equals
530:30: E225 missing whitespace around operator
531:26: E201 whitespace after '('
533:31: E201 whitespace after '('
557:1: E302 expected 2 blank lines, found 1
557: D401 First line should be imperative: 'Check', not 'Checks'
557: D300 Expected """-quotes, got '-quotes
564:1: E302 expected 2 blank lines, found 1
564: D202 No blank lines allowed *after* function docstring, found 1
564: D205 Blank line missing between one-line summary and description
581:1: E302 expected 2 blank lines, found 1
581: D202 No blank lines allowed *after* function docstring, found 1
581: D205 Blank line missing between one-line summary and description
588:1: W293 blank line contains whitespace
590:5: F841 local variable '_' is assigned to but never used
604:40: E203 whitespace before ':'
605:42: E203 whitespace before ':'
606:46: E203 whitespace before ':'
608:57: E251 unexpected spaces around keyword / parameter equals
608:59: E251 unexpected spaces around keyword / parameter equals
609:56: E127 continuation line over-indented for visual indent
609:70: E251 unexpected spaces around keyword / parameter equals
609:72: E251 unexpected spaces around keyword / parameter equals
611:1: E302 expected 2 blank lines, found 1
611: D202 No blank lines allowed *after* function docstring, found 1