Added alot to client files. Changed some other stuff

Will continue tomorrow morning, going to get some sleep now. Looks kind
of cut off I'm afraid.