[Delivers #80458348] Simplified code, added comments, and moved towards using player.config v...

...alues for height and width. [Fixes #80458348]