Working on sockets. Making canvas a global.
Made canvas global
Halfway done with integration of UI and networking.