Fix bugs, rewrite large sections.

Large portions of the code were written, and many bugs were
eliminated. Some support added. Commercial images are now booting.
Merge branch 'master' of https://github.com/tj90241/cen64