AAC encoder: Extensive improvements