remove deque manual pop since its auto; refactor session_ends
remove deque manual pop since its auto; refactor session_ends

kengz/openai_gym,kengz/openai_gym,kengz/openai_lab,kengz/openai_lab,kengz/openai_lab,kengz/openai_gym