Fixed multiple issues with new AAC encoder. This means it actually works.