fixing bug (closing #48) caused by refactoring of audiocontroller; debug option now enables/disables logging