more work on adding texSize exporting, cleanup a few things