Fixed the setting of the virtual counterpart field of a many_to_one relation.
Fixed some styles and improved some stuff