Can now save to binary
Some bug fixes