Look for first non-empty sequence to find control flow
Look for first non-empty sequence to find control flow

Fixes issue #21.

BBN-Q/PyQLab,Plourde-Research-Lab/PyQLab,calebjordan/PyQLab,rmcgurrin/PyQLab