Added ManageHooks for Thunderbird & Firefox and fixed Java applications