lime/src/main.c: added subsample option (if enabled, records only 10% of memory)
capture.py: added sample option