Solved a bug that appeared after the latest bug fix that solved the internal links but broke the external ones.
Added a check so if all the alinks are pointing to the current page the all replace process is skipped.
Wrapped the "(unsubscribe)"-text with the function t() around line 349, for easy localization of the string
Added functionality to hook_user and hook_og to remove the user role info from og_users_roles table if the user is either unsubscribed from group or deleted from site.