fix geometry handling
Updated README.md and added file check.
simplify the file opening check
explain options for nearest neighbor / non-repeating texture setup