ggg list lists targets and processes

also do a bunch of cleanup and add a few more tests