Fixed Major bugs

I fixed some major bugs - now you can run a game