- complete+document+fix texture orientation code - add JPG codec - file extension check bugfix: now case-insensitive also some general cleanup. This was SVN commit r1660.