audio loops. some bug fixes