CQM-136 Missing last enter when -m option is added...

* removed `-n` option that removes trailing new line char
CQM-109 Fixed cqapi calls. Formatting fixes