What do the flags "-g no" "-v" "-a 60" mean? Is there a list somewhere for all the possible flags that I can/should input?
I think that is just an example he used. The flags line (line2) is there to manipulate the command line executable of the program you specify in line one. I don't think it does anything to change the behavior of WhileIdle.
Depending on what Video card you are using check this chart to see what other people are doing to get your optimum speed. (Older Radeons don't like vectors, "-v", newer cards can handle larger worksize, etc.)
Mining Hardware Chart:
https://en.bitcoin.it/wiki/Mining_hardware_comparisonPoclbm Flags
http://forum.bitcoin.org/?topic=4122.0;wap2RPC-Miner Flags
http://forum.bitcoin.org/?topic=2444.0Hope this helps
jim