removed gtk stuff from migrep code