fixing string replace to use global regexp in column names
making handling of testplots the same as live plots (JSON.parse)
changing livedata push to atomic write operations (write to temp file, rename temp file)