Handle arrows at end of file.

@AsaAyers Decided to take a quick stab at this one just for funsies.  If you don't like it, that's cool.  :)

It appears to handle arrows at the end of the input at an arbitrary depth.