IN-PROGRESS. finished implementing the logic for falling outward.  changed the logic for testing complete layers for single-line mode.