I've made it so that, upon resizing the window, it updates the player to be properly sized.
I've also properly cited a snippet I used that Aleksandar Kolundzija created. Created the redrawPlayer function.
Few other things I think.