Added comments and a better GUI

Need to straighten out the roles of client and server in this program,
currently they are reversed. Gunna fix that.