You don't have to make it loop, I just wanted to throw it out there that looping the map was a good option.
Can you make it so your mouse and controls locks onto the game? When I try to explore downwards, the arrow key scrolls my whole page down and I can't see the game window anymore. I'd like to get to the next level, but it is hard to explore.