Optimizing trials, more calculations moved to the GPU.

Escape button == escape.