analyzer several buxfixes, some performance tweeking, structural reorganizations