Added some form elements : File, Checkbox and fixed bugs.