Fixed a bug where map creation would fire twice at load.
Completion of ledge linking solution with debugging.
Lines are now drawn between linked ledges for better debugging.