added class to load additional form types
fixed wrong constructor and wrong case condition
form: submit/cancel button combo; fixed many small bugs