improvements in FBX loader and minor code improvements