incrementing read lock by single frame when appropriate - still testing.
Adding code to run background capture in thread from main program