I'm sorry but that formatting was just killing me x.x
Tiny tidy up and walking the code
Need to break after handling packet so it doesn't overflow