debugging.  fixed some layer collapse bugs.  tweaked some parameters.  eased up on some logging functionality.