v1.8.0: Improvements and more crash prevention code

Improved some code and created a new class named PlayerChannelUtils to
handle all uses of the player channels in a safer and more reliable way.