Refactored and cleaned up a good deal of of everything, completed merge.

 There's currently an error with the broadcast function. I am tracking it down.
Refactored and cleaned up a good deal of of everything, completed merge.

 There's currently an error with the broadcast function. I am tracking it down.
Breaks, tends to be when you mine tiles.
Fixed the stupid error. I was trying to figure out the signed vlq size using an absolute value.
Cleanup before merge back to master.
Merge pull request #13 from CarrotsAreMediocre/new-version-fixes

New version fixes