Added multimode streaming mode, fully functional.