Move DOM interaction to base form turtle/maze.

This is part of moving instructions to a dialog box but I figured this is a good change no matter what we do with instructions so it might as well go in separate.