Fix doubling buffer content on CNCserver through shared local buffer
Fixes #182