change vertical align method; add pause functionality; enable esc and spacebar commands