changing panel to ptr and style stuff
fixed empty ctors to supress warnings
switched panel to ptr
switched panel to ptr
style updates