Search is breadth-first, so don't need to compare path lengths
Speed up rendering by drawing rectangles rather than individual pixels