Can now trigger panels from widgets

Still working on cleaning the code.
Panels can now be hidden or displayed
need to replace the string event by a flag