Socketing works a lot better now. Still some tweaks to be made and refactoring to be done, but it's almost there.