Quick update to behaviorlib, cleaned up grinex code