Some minor fixes:

o Forcefully shuts down JVM when closing main window (until keep-alive
  issue has been fixed)
o Tries to open the db configuration file in another way if the Desktop
  way doesn't work.