Allow custom menu entries and commands be setup in config for the panel

I also cleaned up #includes in panel headers that were not necessary or should be in .cpp files. as I ran into circular header hell for a while.