Made some changes to the FormPanel class.