Lots of clean up and documentation; started new ladder detection