Removed extraneous parameter from texture atlas structure. Added a dedicated 'free' function to release texture atlases.