Fixed diagonal collisions to slide, also began adding not-yet-functional socket code