Added graphic editor into comment form

Added graphic editor into the comment form.
Fixed small bugs in models