fixed issue where screenshots stop working (afaik due to too many DCs created)
add easy toggle for .txt vs .dat index parsing
fixes for record .dat and .txt index creation
* fix idx for .txt index (was off by 1 due to timing of count inc)
* catch failure of stopping audio stream
* save .dat file every line instead of only at the end (safer)