Bug fixes.

Some bugs are now fixed.
Those fixes can be seen on the screenshot below.
![memberlist_warnings_fixes](https://cloud.githubusercontent.com/assets/7805635/3640786/f750753a-10a8-11e4-818c-4e4d8e42dc3d.png)
New line is missing. Also, please merge all the commits into 1 commit as several of them makes minor changes like indentation/etc.