codeeditor customizations
drawing canvas fix (should be obsolete now)