Tidy up comments and format - cmd-cave.c