Added some form validation stuff and updated bug edit view