Fix connection issues

Continued cleanups and minor fixes:
- Remove only the played video from the playlist
- Always return dictionary from API call
- Catch failed connections
- Use consistent log message formatting
- Write API call responses in readable form in debug log