Various improvements

- No more exception when opening SelectDatabaseForm from MainForm
- Added some using statements
- Search for database names asynchronously now
- On buttons, use the PerformClick method instead of directly calling
the event method