Lots of correction

Game is almost fully playable unless there are issues with the research
tree, which i have not tested.
Merge pull request #17 from Xracer/WIP

Lots of correction