update

fix errors in GD class
update Debug class
update CKEditor configuration