Added function for automatically setting entity titles and hiding field in forms.
Fixed some minor bugs.