Added delete commands, fixed settings bug

Fixed bug while trying to store MAXIMUM_DATE on settings page.
Added delete commands.
Refined user interface.