Fixed all compile error's machine networking still needs work