fix bug with '-spn' option in CIT_magic
add dialog window and quit for CIT_magic conversion