capture.py: looking for valid groups in likwid
capture.py: fixed typo
capture.py: more checks to verify likelihood of success before using os.system()
capture.py: fixed bug in WrOk()
capture.py: fixed bug in WrOk()