Update main.py

universal stream and setcolor functions