Added clump error detection, improved wall bouncing