Removed the use of threading to invoke individual commands.