Done with friends and messages notifications. Added some comments.
Done merging.