Add Twitch API for player aliases.
Remove unnecessary declaration.
Remove unnecessary cast.
Check for IO failure variable as well.