Got the code working more effectively, does not skip random frames.  Has a whitespace threshold now.  Still needs brightness.  terminal_movie improved.