Added Panels

Added Panels to add elements to, other fixes and improvements