Fixed some merging bugs with vision code.
Modified stream processor.