Threading

Added threading to the auto function in the Python script. Also expanded
the size of the command fifo.