Fix Q pointer initialisation, test setting import format, implement setting import format; other fixes.