Move timing variables into session variables

Previously information about the timing of markers was passed back and forth through AJAX
calls.  It is simpler and more natural to store this information in session variables to
persist across the session.