James Holmes appears "dazed" in court