CSS tweaks, fixed friends list bug, refactored some of the main Python logic