Added the ability to set capture mode in the qt application (normal, master, slave rising, slave falling).