Fix bugs in iqm_to_iqe script and add support for comment text.