fixed a few small mess ups, still a few more to do for networking and eventcalls, but it runs