Call commands in seperate thread.

Comments still needed.