combined 2d player renders in single function, client can select own player color
main.js cleanup, removed deprecated code (issue #2)