Refactored controller a little and other misc.

- Renamed _widget to form_widget