Some refactoring of code, about to change command structure.
Merge branch 'mips' of ssh://github/dargueta/Risk into mips