Fixed panel bug with not invoking endwin() on quit.

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