Fixed Notifications.

Fixed notifications and hopefully fixed a bug with account friends.
needs testing before curse push