added back *.opensdf files to .gitignore.
use binarymesh file format when writing orphan mesh objects to disk.
fixed division by 0 and optimized code.