Avoid redundant octree and texture writes

Avoid redundant octree/texture writes using file modification timestamps.

fixes #226 (github)
see #291 (github)