Refactored Client to client (To lowercase).
Fixed that port was not set in ServerEditDialog when first launched.