jars: move resources one directory up
code: remove unnecessary documentation and limit to 80 chars
graphics: simplify tex2D code