Fixing join endianness issue and port numbering weirdness
Extra info printing
Int comparison bug fixed