Fixing more sprintf problems and always showing the port in Server shell start