Thanks, pretty much all my time went into learning how to make said train which meant that sadly the only real way to escape the loop is to literally hit Escape.
Maze was supposed to be procedurally generated and there would be other platforms/islands to visit with more puzzles but they had to be left on the cutting room floor.