use simple dec for numba
add mark and snip to globals
allow detrend to be None and make defaults saner