First attempt at named pipe server
Send frames using test script
Adding lock to protect memory
Pass objection pointer to connection thread
Return actual frame or at least a part
Prevent buffer overrun
Fill buffer every iteration