can toggle debug log on/off
working on fixing a bug where connections get deleted but then COME BACK after an update from the server
WAY simplified the connection with the server. it feels like bad practice to have my angular controller making the websocket and talking to the server, but the data transfer is so simple for this app. it is just pins and their states and which pins they are connected to. and this is exactly the information the server is sending us. so it feels silly to have an extra server layer in between which just incurs a lot of glue code. as things get more complex it will probably make sense to have a server, but let us keep things as simple as possible.