updated texture handling
updated javadocs