Print an error message for nonexistent gname

Also add support for all to be consistent with start/stop
Added a test for all