Fix for ajax requests + ajax panel

Fixed the ability to debug ajax requests and added a panel to
enable/disable processing ajax requests.