Minor improments

- Added functionality for link behavior.
- Added functionality so that buttons can be used to submit and reset
forms.
- Fine tuned comments