Synagogue massacre defendant appears in court