Networking update

Made program pull from git before running, to ensure that latest files are updated
Made it so that memory is _actually_ freed when the exit command is run, rather than being dead code.
Added a line to copy history.log to a server of choice upon exit, preferably the server hosting mattdu.net