Moved buffer size management to Collect Thread.
Check for validity on another substring
Shorter collector thread interval
Added some strange workaround for blocking serial read on arduino...