Added input thread and UI for monitoring robot.