Fixed redundant completition code
Compatible version with other players
LDoc comments to create documentation