edited haspsychtbox