Got templates to disappear on transition
(I needed to surround them with a div.)
Added ending a game functionality