initial.rev5

-made the menu into global vars and function to update it, can -now add
elements on fly
-added create new profile button
-learned: TODO: on restart of browser the popup panel has a size
function called on it, i need to find this and call it manually
-able to beutifully add in the three button toolbar button now
initial.rev6

-if addon startup, but dont open PanelUI and then unisntall addon, then
open PanelUI the popupshow listener was still attached and stuff would
get added, so unataching that now on shutdown, using unloaders technique
-i actually wasnt even removing it after first running it, so doing that
now as well
-for some reason when uninstall and then reinstall the boxObject height
is 0 on the elements, im guessing this is because if add element into
hidden panel, the height doesnt take affect until popupshowing, so
changed to addEventLIstener not just if PUIsync not avail but if PanelUI
not open
initial.rev7

-css work
--got hover working
--settled on the inner button look and the. the outter button is the
active button which is selected profile, so just one
initial.rev8

-removed debug panel force open
-removed some commented out stuff like the generation
-added os file to get all profiles and current profiles
--setting stackDOMJson respectively (UNTESTED)
-added to udpateDOMJson to take string 'PUIsync' for cloneNode and in
that case it gets the PUIsync for the current aDOMWindow
initial.rev9

-css of box shadow on perm-hover needed offset on y to 6px otherwise it
was showing a light border on bottom of it
-fixed all typo bugs as last version was untested
-after promise completes of dir reading it doesnt update all windows,
added that code now
-removed 10s delay then dump heights, pat on mzine verifid that if panel
is hidden its children will not get height ill shown
-ok looks like its working fine to load all profiles properly into menu
initial.rev10

added in launchProfile and createProfile functions
FIXED attaching functions to menu items, issue was IT WAS just taking
last
one for addEventListenr, so did closure solution
initial.rev11

NOW REALLY fixed issue of closure on loop, the issue was when splicing
into the
menu i needed to do the closure method in loop as well
the already init was on the exe init, not the profile
making updateDOM remove things that are not found in stack (added it in
but untested)
issue right now is creating profile with spaces in name