Bug fixes

- Handle uint32s correctly
- Check version number in header
- Fix an infinite loop
Javafy variable names
Add unit tests
Add a build file
Add missing newlines to printfs