fixed buddy list cell when multiple accounts and minor cleanup
fix analyze warnings