Active shooter suspect appears in court