Select a mode to begin with, then use arrow keys to move. If your in a maze and you want to change modes, no problem! use the back button provided in the top left corner. Happy mazing!
I used griffpatch's code for most of the maze generation, but I coded the movement, Different modes, back button, and everything else on my own. Post ideas for improvements in the comments.