added fltx4 type, added ModelReference_t support, fixed some bugs with brackets