Added database widget to main window.
Changed database list widget item type back to default and removed subclass.
Added window title to save dialog.
Added close event.
Added database draw and delete function. TODO: Delete buggy. Maybe JSON bug?