Fixed some syntax errors in FabricModel (it loads now, sort of), fixed many scoping issues, created a couple more