More support for starting panel by super user. Code cleanup.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>