Added Debug mode, added textarea in query field in TextAreaFromDB