Functionality Restored, Flashing Permits

Everything is exactly as it was before this entire branch began. All
that remains is to optimise the new code, and remove the cause of that
weird flashing at large map sizes. Hopefully those are one and the same.