Fixed a bunch of dumb bugs where I used sizeof instead of strlen.  Also changed up memory shared file, but that still is not clearing upon close for some reason.