MediaEngine/atrac: Initialize some variables, remove use of some deprecated functions