Added functionality to the UI and Agent that will help to intergrate Crank into D-Crank

I am guessing it was just for debugging