Fixed leaking globals and wrong vars + libAddonMenu

Author Baertram <pz1@gmx.net>
Author date 2018-06-03 17:55:54
Author local date 2018-06-03 19:55:54 +0200
Committer Baertram <pz1@gmx.net>
Committer date 2018-06-03 17:55:54
Committer local date 2018-06-03 19:55:54 +0200
Commit 81b662768de32112808bdee601c07ce354d40a0c
Tree e71edc4a3429c0f61cb72273155a46d2108553da
Parent 6fabc44e057882a15d91eab24233f7656cd2a74f
Fixed leaking globals and wrong vars + libAddonMenu

Fixed leaking globals and wrong vars + libAddonMenu