Added a debug window which shows all the response json (enable with ?debug=true)