Minor improvements to texture tool.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>