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 's'
5: I102 copyright year is outdated, expected 2014 but got 2013
33:28: E126 continuation line over-indented for hanging indent
55:1: E302 expected 2 blank lines, found 1
55: D203 Expected 1 blank line *before* class docstring, found 0
55: D400 First line should end with '.', not 'l'
58: D202 No blank lines allowed *after* method docstring, found 1
58: D400 First line should end with '.', not 'd'
58: D205 Blank line missing between one-line summary and description
91:13: F841 local variable 'last_comment_round_name' is assigned to but never used
97:139: E221 multiple spaces before operator
100:85: E231 missing whitespace after ','
100:87: E221 multiple spaces before operator
129:34: E127 continuation line over-indented for visual indent
141:13: E128 continuation line under-indented for visual indent
143:33: E203 whitespace before ':'
148:36: E225 missing whitespace around operator
149:168: E502 the backslash is redundant between brackets
149:57: E225 missing whitespace around operator
150:67: E127 continuation line over-indented for visual indent
153:13: E124 closing bracket does not match visual indentation
167:14: E127 continuation line over-indented for visual indent
169:14: E124 closing bracket does not match visual indentation
173: D401 First line should be imperative: 'Display', not 'Displays'
173: D205 Blank line missing between one-line summary and description
198: D400 First line should end with '.', not 'd'
198: D205 Blank line missing between one-line summary and description
231:26: E201 whitespace after '{'
231:45: E203 whitespace before ':'
231:22: E222 multiple spaces after operator
232:46: E203 whitespace before ':'
233:44: E203 whitespace before ':'
234:44: E203 whitespace before ':'
235:44: E203 whitespace before ':'
235:62: E261 at least two spaces before inline comment
235:63: E262 inline comment should start with '# '
236:44: E203 whitespace before ':'
236:62: E261 at least two spaces before inline comment
236:63: E262 inline comment should start with '# '
237:25: E124 closing bracket does not match visual indentation
247:13: F841 local variable 'last_comment_round_name' is assigned to but never used
274:106: E231 missing whitespace after ':'
274:143: E231 missing whitespace after ':'
275:32: E222 multiple spaces after operator
297:37: E225 missing whitespace around operator
317:13: E122 continuation line missing indentation or outdented
317:14: E201 whitespace after '{'
317:40: E203 whitespace before ':'
318:40: E203 whitespace before ':'
319:40: E203 whitespace before ':'
320:40: E203 whitespace before ':'
321:40: E203 whitespace before ':'
322:40: E203 whitespace before ':'
323:40: E203 whitespace before ':'
324:40: E203 whitespace before ':'
325:41: E203 whitespace before ':'
326:60: E225 missing whitespace around operator
327:40: E203 whitespace before ':'
328:13: E124 closing bracket does not match visual indentation
340:28: E128 continuation line under-indented for visual indent
341:28: E128 continuation line under-indented for visual indent
344: D400 First line should end with '.', not 'n'
344: D205 Blank line missing between one-line summary and description
383:35: E128 continuation line under-indented for visual indent
384:35: E126 continuation line over-indented for hanging indent
389:81: E225 missing whitespace around operator
389:100: E225 missing whitespace around operator
391:83: E225 missing whitespace around operator
414:105: E225 missing whitespace around operator
416:106: E225 missing whitespace around operator
422:110: E225 missing whitespace around operator
433:111: E271 multiple spaces after keyword
442:37: E126 continuation line over-indented for hanging indent
469:17: E127 continuation line over-indented for visual indent
469:33: E203 whitespace before ':'
470:33: E203 whitespace before ':'
471:33: E203 whitespace before ':'
481: D400 First line should end with '.', not 'n'
481: D205 Blank line missing between one-line summary and description
514:107: E231 missing whitespace after ':'
549:94: E225 missing whitespace around operator
555:99: E225 missing whitespace around operator
570:31: E203 whitespace before ':'
571:16: E128 continuation line under-indented for visual indent
572:16: E128 continuation line under-indented for visual indent
572:31: E203 whitespace before ':'
573:16: E128 continuation line under-indented for visual indent
573:31: E203 whitespace before ':'
574:16: E128 continuation line under-indented for visual indent
575:16: E128 continuation line under-indented for visual indent
575:31: E203 whitespace before ':'
576:16: E128 continuation line under-indented for visual indent
576:31: E203 whitespace before ':'
577:16: E128 continuation line under-indented for visual indent
577:31: E203 whitespace before ':'
578:16: E124 closing bracket does not match visual indentation
581: D400 First line should end with '.', not 's'
581: D205 Blank line missing between one-line summary and description
590:55: E231 missing whitespace after ','
673:13: F841 local variable 'c_round_name' is assigned to but never used
674:13: F841 local variable 'c_restriction' is assigned to but never used
683:26: E201 whitespace after '{'
683:45: E203 whitespace before ':'
683:22: E222 multiple spaces after operator
684:46: E203 whitespace before ':'
685:44: E203 whitespace before ':'
686:44: E203 whitespace before ':'
687:44: E203 whitespace before ':'
688:44: E203 whitespace before ':'
689:44: E203 whitespace before ':'
690:44: E203 whitespace before ':'
691:44: E203 whitespace before ':'
692:44: E203 whitespace before ':'
693:25: E124 closing bracket does not match visual indentation
700:22: E201 whitespace after '{'
700:37: E203 whitespace before ':'
700:19: E222 multiple spaces after operator
701:42: E203 whitespace before ':'
702:36: E203 whitespace before ':'
703:36: E203 whitespace before ':'
705:36: E203 whitespace before ':'
706:36: E203 whitespace before ':'
707:36: E203 whitespace before ':'
708:36: E203 whitespace before ':'
717:13: F841 local variable 'last_comment_round_name' is assigned to but never used
728:20: E127 continuation line over-indented for visual indent
735:35: E127 continuation line over-indented for visual indent
735:73: E221 multiple spaces before operator
744:132: E202 whitespace before ')'
745:33: E127 continuation line over-indented for visual indent
745:71: E221 multiple spaces before operator
746:140: E225 missing whitespace around operator
819:66: E261 at least two spaces before inline comment
827:275: E231 missing whitespace after ':'
828:163: E231 missing whitespace after ':'
861:38: E203 whitespace before ':'
861:62: E231 missing whitespace after ':'
863:38: E203 whitespace before ':'
863:61: E231 missing whitespace after ':'
864:38: E203 whitespace before ':'
864:63: E231 missing whitespace after ':'
866:35: E203 whitespace before ':'
917:57: E251 unexpected spaces around keyword / parameter equals
917:59: E251 unexpected spaces around keyword / parameter equals
941:9: E122 continuation line missing indentation or outdented
941:10: E201 whitespace after '{'
944:32: E203 whitespace before ':'
945:38: E203 whitespace before ':'
945:58: E225 missing whitespace around operator
946:40: E203 whitespace before ':'
947:40: E203 whitespace before ':'
948:40: E203 whitespace before ':'
949:40: E203 whitespace before ':'
950:41: E203 whitespace before ':'
951:40: E203 whitespace before ':'
952:40: E203 whitespace before ':'
953:40: E203 whitespace before ':'
955:40: E203 whitespace before ':'
956:76: E502 the backslash is redundant between brackets
956:40: E203 whitespace before ':'
957:40: E127 continuation line over-indented for visual indent
957:74: E502 the backslash is redundant between brackets
958:40: E127 continuation line over-indented for visual indent
958:59: E502 the backslash is redundant between brackets
960:40: E203 whitespace before ':'
961:9: E124 closing bracket does not match visual indentation
1005:9: E122 continuation line missing indentation or outdented
1006:47: E203 whitespace before ','
1008:43: E225 missing whitespace around operator
1020:112: E502 the backslash is redundant between brackets
1020:87: E225 missing whitespace around operator
1020:106: E225 missing whitespace around operator
1028:112: E502 the backslash is redundant between brackets
1028:87: E225 missing whitespace around operator
1028:106: E225 missing whitespace around operator
1042: D401 First line should be imperative: 'print', not 'prints'
1042: D400 First line should end with '.', not 'm'
1050: D202 No blank lines allowed *after* method docstring, found 1
1050: D400 First line should end with '.', not 'n'
1050: D205 Blank line missing between one-line summary and description
1062:15: E221 multiple spaces before operator
1095: D400 First line should end with '.', not 'n'
1095: D205 Blank line missing between one-line summary and description
1113:15: E221 multiple spaces before operator
1115:9: E122 continuation line missing indentation or outdented
1116:9: E128 continuation line under-indented for visual indent
1117:9: E128 continuation line under-indented for visual indent
1134: D400 First line should end with '.', not 's'
1134: D205 Blank line missing between one-line summary and description
1154:22: E201 whitespace after '{'
1154:40: E203 whitespace before ':'
1155:40: E203 whitespace before ':'
1155:65: E202 whitespace before '}'
1160: D400 First line should end with '.', not 'r'
1160: D205 Blank line missing between one-line summary and description
1167:9: F841 local variable '_' is assigned to but never used
1176: D400 First line should end with '.', not 's'
1176: D205 Blank line missing between one-line summary and description
1195:22: E201 whitespace after '{'
1195:37: E203 whitespace before ':'
1195:19: E222 multiple spaces after operator
1196:42: E203 whitespace before ':'
1197:36: E203 whitespace before ':'
1198:36: E203 whitespace before ':'
1199:36: E203 whitespace before ':'
1200:36: E203 whitespace before ':'
1218:20: E222 multiple spaces after operator
1243:13: E122 continuation line missing indentation or outdented
1244:121: E502 the backslash is redundant between brackets
1245:28: E127 continuation line over-indented for visual indent
1246:100: E502 the backslash is redundant between brackets
1247:31: E127 continuation line over-indented for visual indent
1248:238: E271 multiple spaces after keyword
1257:50: E251 unexpected spaces around keyword / parameter equals
1257:52: E251 unexpected spaces around keyword / parameter equals
1292: D400 First line should end with '.', not 's'
1292: D205 Blank line missing between one-line summary and description
1310:22: E201 whitespace after '{'
1310:37: E203 whitespace before ':'
1310:19: E222 multiple spaces after operator
1311:42: E203 whitespace before ':'
1312:36: E203 whitespace before ':'
1313:36: E203 whitespace before ':'
1314:36: E203 whitespace before ':'
1315:36: E203 whitespace before ':'
1364:1: E128 continuation line under-indented for visual indent
1365:50: E251 unexpected spaces around keyword / parameter equals
1365:52: E251 unexpected spaces around keyword / parameter equals
1406:35: E203 whitespace before ':'
1406:42: E225 missing whitespace around operator
1407:35: E203 whitespace before ':'
1407:41: E225 missing whitespace around operator
1422: D400 First line should end with '.', not 'd'
1422: D205 Blank line missing between one-line summary and description
1429:22: E201 whitespace after '{'
1429:37: E203 whitespace before ':'
1429:19: E222 multiple spaces after operator
1430:42: E203 whitespace before ':'
1431:36: E203 whitespace before ':'
1432:36: E203 whitespace before ':'
1433:36: E203 whitespace before ':'
1434:36: E203 whitespace before ':'
1438:51: E221 multiple spaces before operator
1449:101: E222 multiple spaces after operator
1453: D401 First line should be imperative: 'Create', not 'Creates'
1453: D290 White spaces around docstring should be trimmed.
1453: D205 Blank line missing between one-line summary and description
1476:15: E221 multiple spaces before operator
1516: D400 First line should end with '.', not 'e'
1516: D200 One-line docstring should not occupy 3 lines
1542:19: E225 missing whitespace around operator
1546:36: E203 whitespace before ':'
1549:35: E203 whitespace before ':'
1550:35: E203 whitespace before ':'
1555:39: E225 missing whitespace around operator
1557: D400 First line should end with '.', not 'e'
1572:18: E225 missing whitespace around operator
1603: D400 First line should end with '.', not ')'
1603: D205 Blank line missing between one-line summary and description
1627:27: E127 continuation line over-indented for visual indent
1630:27: E127 continuation line over-indented for visual indent
1653:13: E201 whitespace after '{'
1653:25: E203 whitespace before ':'
1654:25: E203 whitespace before ':'
1655:25: E203 whitespace before ':'
1656:25: E203 whitespace before ':'
1658:26: E203 whitespace before ':'
1659:25: E203 whitespace before ':'
1660:25: E203 whitespace before ':'
1661:25: E203 whitespace before ':'
1691: D401 First line should be imperative: 'output', not 'outputs'
1691: D290 White spaces around docstring should be trimmed.
1691: D400 First line should end with '.', not 'd'
1695: D401 First line should be imperative: 'prepare', not 'prepares'
1695: D290 White spaces around docstring should be trimmed.
1695: D400 First line should end with '.', not 'r'
1710: D401 First line should be imperative: 'output', not 'outputs'
1710: D290 White spaces around docstring should be trimmed.
1710: D400 First line should end with '.', not 'w'
1725:34: E203 whitespace before ':'
1733: D400 First line should end with '.', not 't'
1733: D205 Blank line missing between one-line summary and description
1740:9: F841 local variable '_' is assigned to but never used
1779:17: E128 continuation line under-indented for visual indent
1779:50: E225 missing whitespace around operator
1779:69: E225 missing whitespace around operator
1780:17: E128 continuation line under-indented for visual indent
1780:36: E203 whitespace before ','
1780:23: E231 missing whitespace after ':'
1781:17: E128 continuation line under-indented for visual indent
1781:49: E203 whitespace before ','
1782:17: E128 continuation line under-indented for visual indent
1783:17: E128 continuation line under-indented for visual indent
1789:17: E128 continuation line under-indented for visual indent
1789:50: E225 missing whitespace around operator
1789:69: E225 missing whitespace around operator
1790:17: E128 continuation line under-indented for visual indent
1790:36: E203 whitespace before ','
1790:23: E231 missing whitespace after ':'
1791:17: E128 continuation line under-indented for visual indent
1792:17: E128 continuation line under-indented for visual indent
1797: D400 First line should end with '.', not 't'
1797: D205 Blank line missing between one-line summary and description
1803:9: F841 local variable '_' is assigned to but never used
1837:49: E225 missing whitespace around operator
1837:68: E225 missing whitespace around operator
1838:54: E272 multiple spaces before keyword
1840:49: E225 missing whitespace around operator
1840:68: E225 missing whitespace around operator
1841:54: E272 multiple spaces before keyword
1847:13: E128 continuation line under-indented for visual indent
1847:39: E203 whitespace before ','
1848:13: E128 continuation line under-indented for visual indent
1849:13: E128 continuation line under-indented for visual indent
1850:13: E128 continuation line under-indented for visual indent
1851:13: E128 continuation line under-indented for visual indent
1852:13: E128 continuation line under-indented for visual indent
1857: D400 First line should end with '.', not 't'
1857: D205 Blank line missing between one-line summary and description
1907:73: E261 at least two spaces before inline comment
1907:73: E262 inline comment should start with '# '
1909:81: E261 at least two spaces before inline comment
1909:81: E262 inline comment should start with '# '
1910:81: E261 at least two spaces before inline comment
1910:81: E262 inline comment should start with '# '
1911:81: E261 at least two spaces before inline comment
1911:81: E262 inline comment should start with '# '
1912:81: E261 at least two spaces before inline comment
1912:81: E262 inline comment should start with '# '
1913:81: E261 at least two spaces before inline comment
1913:81: E262 inline comment should start with '# '
1915:81: E261 at least two spaces before inline comment
1915:81: E262 inline comment should start with '# '
1916:81: E261 at least two spaces before inline comment
1916:81: E262 inline comment should start with '# '
1917:81: E261 at least two spaces before inline comment
1917:81: E262 inline comment should start with '# '
1918:82: E261 at least two spaces before inline comment
1918:82: E262 inline comment should start with '# '
1920:76: E261 at least two spaces before inline comment
1920:76: E262 inline comment should start with '# '
1922:84: E261 at least two spaces before inline comment
1922:84: E262 inline comment should start with '# '
1923:84: E261 at least two spaces before inline comment
1923:84: E262 inline comment should start with '# '
1924:84: E261 at least two spaces before inline comment
1924:84: E262 inline comment should start with '# '
1925:84: E261 at least two spaces before inline comment
1925:84: E262 inline comment should start with '# '
1926:84: E261 at least two spaces before inline comment
1926:84: E262 inline comment should start with '# '
1928:84: E262 inline comment should start with '# '
1929:84: E262 inline comment should start with '# '
1930:84: E262 inline comment should start with '# '
1931:84: E262 inline comment should start with '# '
1932:84: E262 inline comment should start with '# '
1934:83: E261 at least two spaces before inline comment
1937:65: E261 at least two spaces before inline comment
1937:66: E262 inline comment should start with '# '
1938:65: E261 at least two spaces before inline comment
1938:66: E262 inline comment should start with '# '
1939:66: E261 at least two spaces before inline comment
1939:66: E262 inline comment should start with '# '
1946:75: E261 at least two spaces before inline comment
1947:75: E261 at least two spaces before inline comment
1948:75: E261 at least two spaces before inline comment
1949:70: E261 at least two spaces before inline comment
1964:15: E128 continuation line under-indented for visual indent
1965:15: E128 continuation line under-indented for visual indent
1966:15: E128 continuation line under-indented for visual indent
1967:23: E211 whitespace before '('
1980:13: E122 continuation line missing indentation or outdented
1981:13: E122 continuation line missing indentation or outdented
1982:13: E122 continuation line missing indentation or outdented
1986:13: E122 continuation line missing indentation or outdented
1987:13: E122 continuation line missing indentation or outdented
1988:13: E122 continuation line missing indentation or outdented
2002:74: E222 multiple spaces after operator
2004:75: E222 multiple spaces after operator
2008:36: E225 missing whitespace around operator
2008:58: E225 missing whitespace around operator
2010:36: E225 missing whitespace around operator
2010:59: E225 missing whitespace around operator
2037: D400 First line should end with '.', not ','
2037: D205 Blank line missing between one-line summary and description
2049:37: E225 missing whitespace around operator
2049:86: E225 missing whitespace around operator
2061: D400 First line should end with '.', not ','
2061: D205 Blank line missing between one-line summary and description
2073:37: E225 missing whitespace around operator
2073:86: E225 missing whitespace around operator
2087:5: E303 too many blank lines (3)
2087: D400 First line should end with '.', not ','
2087: D205 Blank line missing between one-line summary and description
2099:37: E225 missing whitespace around operator
2099:86: E225 missing whitespace around operator
2111: D202 No blank lines allowed *after* method docstring, found 1
2111: D400 First line should end with '.', not ')'
2121:21: E126 continuation line over-indented for hanging indent
2124:26: E225 missing whitespace around operator
2160:9: E122 continuation line missing indentation or outdented
2161:9: E122 continuation line missing indentation or outdented
2162:9: E122 continuation line missing indentation or outdented
2163:9: E122 continuation line missing indentation or outdented
2164:9: E122 continuation line missing indentation or outdented
2165:9: E122 continuation line missing indentation or outdented
2166:9: E122 continuation line missing indentation or outdented
2167:9: E124 closing bracket does not match visual indentation
2170: D401 First line should be imperative: 'Print', not 'Prints'
2170: D400 First line should end with '.', not 'w'
2170: D205 Blank line missing between one-line summary and description
2192:15: E127 continuation line over-indented for visual indent
2192:109: E502 the backslash is redundant between brackets
2194:16: E127 continuation line over-indented for visual indent
2196:48: E225 missing whitespace around operator
2196:67: E225 missing whitespace around operator
2200: D401 First line should be imperative: 'Print', not 'Prints'
2200: D400 First line should end with '.', not 'w'
2200: D205 Blank line missing between one-line summary and description
2222:72: E221 multiple spaces before operator
2223:16: E127 continuation line over-indented for visual indent
2223:82: E502 the backslash is redundant between brackets
2223:44: E225 missing whitespace around operator
2223:63: E225 missing whitespace around operator
2227:81: E221 multiple spaces before operator
2228:20: E126 continuation line over-indented for hanging indent
2228:86: E502 the backslash is redundant between brackets
2228:48: E225 missing whitespace around operator
2228:67: E225 missing whitespace around operator
2232:79: E221 multiple spaces before operator
2233:20: E126 continuation line over-indented for hanging indent
2233:86: E502 the backslash is redundant between brackets
2233:48: E225 missing whitespace around operator
2233:67: E225 missing whitespace around operator
2237:16: E127 continuation line over-indented for visual indent
2241: D401 First line should be imperative: 'Print', not 'Prints'
2241: D400 First line should end with '.', not 'e'
2241: D205 Blank line missing between one-line summary and description
2268:15: E271 multiple spaces after keyword
2270: D202 No blank lines allowed *after* method docstring, found 1
2270: D400 First line should end with '.', not 'e'
2270: D205 Blank line missing between one-line summary and description
2308: D400 First line should end with '.', not 'r'
2353:55: E231 missing whitespace after ','
2361:22: E222 multiple spaces after operator
2397:9: E303 too many blank lines (3)
2459:34: E126 continuation line over-indented for hanging indent
2462:102: E502 the backslash is redundant between brackets
2462:77: E225 missing whitespace around operator
2462:96: E225 missing whitespace around operator
2467:98: E502 the backslash is redundant between brackets
2467:73: E225 missing whitespace around operator
2467:92: E225 missing whitespace around operator
2491:25: E127 continuation line over-indented for visual indent
2491:37: E203 whitespace before ':'
2492:37: E203 whitespace before ':'
2493:37: E203 whitespace before ':'
2494:37: E203 whitespace before ':'
2495:37: E203 whitespace before ':'
2496:37: E203 whitespace before ':'
2501:24: E261 at least two spaces before inline comment
2506:16: E127 continuation line over-indented for visual indent
2533:52: E126 continuation line over-indented for hanging indent
2551:54: E251 unexpected spaces around keyword / parameter equals
2551:56: E251 unexpected spaces around keyword / parameter equals
2551: D202 No blank lines allowed *after* method docstring, found 1
2551: D200 One-line docstring should not occupy 3 lines
2560:19: E126 continuation line over-indented for hanging indent
2560:33: E203 whitespace before ':'
2561:33: E203 whitespace before ':'
2562:33: E203 whitespace before ':'
2562:51: E231 missing whitespace after ','