Added a UI for debugging