Fixed texture size bug
fixed file size calculation issue
fixed crash when given unknown key id