pnum_gui can now be run independently or as a child process