more precise types when parsing texture atlas
last curley braces clean up