Fixed really

There was a problem with some variables. Switched to context and no problems found. Also changed audioMap to an array type.