Refactor settings box; set limit of duoshuo comments