Threaded command parsing