[Android] Fixed IsLoopPlaying logic.
Fixed up headers.
Better error checking.