Build fixes and dependency fixes (removed SWT references from database dialog)