Remove unused imports and fix online indicator (friends).

Fixes #151 (all white spaces fixed)
Merge pull request #156 from ratan12/Fix_friendlist

Remove unused imports and fix online indicator (friends).