Added global variable checking
Added user input option. Removed need to use avgPulse.
Added default names. Tested version. Appears to be working.
Added cutName and pulseName functionality. Tested. Works.