- Allowed formatting of date.
- Added update of view. Thank you to Masashi Sakurai for his great help.
- cleaned up code.
add a quit function