Cleaned up behaviour window slightly.