quick fixes to "wrong tabs in my contacts" and empty friend requests
few more fixes
fixed mysql error