Remove unnessecary files and clean up form.